package com.team.app.dao;

import java.util.List;

import com.team.app.model.Auth;
import com.team.app.model.Role;

public interface  RoleDao {
	public Long create(Role obj);

	public void edit(Role obj);

	public void remove(Role obj);

	public Role find(Object id);

	public List<Role> findAll();
	
	public List<Role> findAll(Auth loginAuth,Role obj);

	public List<Role> findRange(int[] range);

	public Long count();
}
